package cn.com.majiang.config.enums;

/**
 * Created by jiangyanxin on 2016/10/31.
 */
public enum ResultCode {

    REQUEST_SUCCESS("200","请求成功"),
    REQUEST_FAIL("100","系统内部错误,请稍后重试");
    String status;
    String message;

    ResultCode(String status, String message){
        this.status = status;
        this.message = message;
    }

    public String getCode() {
        return status;
    }

    public void setCode(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
